<%-- 
    Document   : layout
    Created on : Dec 6, 2013, 3:29:22 PM
    Author     : QuocMinh
--%>

<%@tag description="Template của Máy Ảnh Kĩ Thuật Số" pageEncoding="UTF-8"%>
<%-- The list of normal or fragment attributes can be specified here: --%>
<%@attribute name="slideshow" fragment="true" %>
<%@attribute name="main" fragment="true" %>
<%-- any content can be specified here e.g.: --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Thế Giới Kỹ Thuật Số: Website bán hàng trực tuyến các thiết bị máy ảnh</title>
        <script type="text/javascript" src="<c:url value="/resources/js/" />jquery.js"></script>
        <script type="text/javascript" src="<c:url value="/resources/js/" />jquery-1.4.4.js"></script>
        <script type="text/javascript" src="<c:url value="/resources/js/" />jquery-ui.js"></script>
        <script type="text/javascript" src="<c:url value="/resources/js/" />jquery-ui-timepicker-addon.js"></script>

        <jsp:include page="../jsp/layout/head.jsp" flush="true" />
    </head>
    <body style="background-image:url(<c:url value="/resources/images/snow.jpg" />); background-repeat:repeat; background-position:top; background-attachment:fixed;">
        <div class="divmain" align="center">
            <table width="982" border="0" align="center" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <td>
                            <jsp:include page="../jsp/layout/banner_menu.jsp" flush="true" />
                        </td>
                    </tr>
                    <tr>
                        <td class="bgtel">
                            <jsp:include page="../jsp/layout/banner_under.jsp" flush="true" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="982" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <td width="180" valign="top" class="shadowleft2">
                                            <!-- Menu bên trái trong main -->
                                            <jsp:include page="../jsp/layout/main_left_menu.jsp" flush="true" />
                                        </td>
                                        <td valign="top" class="paddmain">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tbody>
                                                    <!-- Hỗ trợ trực tuyến -->
                                                    <tr>
                                                        <td height="40" style="padding-left:5px;">
                                                            <jsp:include page="../jsp/layout/main_support.jsp" flush="true" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <img src="<c:url value="/resources/images/space.gif" />" width="1" height="1">
                                                        </td>
                                                    </tr>
                                                    <!-- Slide show hình ảnh -->
                                                    <jsp:invoke fragment="slideshow"/>
                                                </tbody>
                                            </table>
                                            <jsp:doBody/>
                                        </td>
                                        <td width="5" class="shadowright">
                                            <img src="<c:url value="/resources/images/space.gif" />" width="5" height="1">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
            <jsp:include page="../jsp/layout/footer.jsp" flush="true" />
        </div>
        <jsp:include page="../jsp/layout/body.jsp" flush="true" />
    </body>
</html>
<!--
<c:if test="${checkSession != null }">${checkSession}</c:if>
<c:if test="${checkSession == null }">Chua login</c:if>
${checkSession.getQuyen().getMaQ() == 4}
-->